package com.dycx.common.constants;

public interface RegexpConstants {
    String ID_CARD = "^[1-9]\\d{5}(18|19|20|(3\\d))\\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9Xx]$";

    String MOBILE = "^1[3456789]\\d{9}$";

    String EMAIL = "\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*";

    String IMAGE_URL = "(?<=src=\").*?(?=\")";

    //截取两个字符串中间的内容
    String CUT_MIDDLE = "(?<=\\$\\{).*?(?=\\})";
}
